From: Adel Gadllah Date: Tue, 19 Feb 2013 07:44:01 +0000 (+0100) Subject: userMenu: Use single quotes for non translateable strings X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4751 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=43a355e07aa73ccaf6049b7e6219bd9b2c4f5a4b;p=gnome-shell.git userMenu: Use single quotes for non translateable strings Coding style cleanup ... --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index ff38859a8..bb0ffb85c 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -958,7 +958,7 @@ const UserMenuButton = new Lang.Class({ 'org.freedesktop.login1', sessionPath); - if (proxy.Class != "user") + if (proxy.Class != 'user') continue; if (proxy.Id == GLib.getenv('XDG_SESSION_ID')) @@ -966,8 +966,8 @@ const UserMenuButton = new Lang.Class({ sessions.push({ user: this._userManager.get_user(userName), username: userName, - info: { "type": proxy.Type, - "remote": proxy.Remote} + info: { type: proxy.Type, + remote: proxy.Remote } }); // limit the number of entries